//: C03:Pitfall.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Operator mistakes

int main()
{
    int a = 1, b = 1;
    while (a = b) {
        // ....
    }
} ///:~
